package de.klingbeil.hhc.client.controller;

import com.google.inject.Inject;

import de.klingbeil.hhc.client.view.EditorView;
import de.klingbeil.hhc.client.view.View;

public class ApplicationListController implements Controller {

	private final ApplicationListView view;

	public interface ApplicationListView extends EditorView {
	}

	@Inject
	public ApplicationListController(ApplicationListView view,
			ItemListController itemListController) {
		this.view = view;
		view.setContent(itemListController.getView().getWidget());
	}

	@Override
	public View getView() {
		return view;
	}
}
